package com.hsj.busmanager.mapper;

import com.hsj.busmanager.api.ButieType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ButieTypeMapper {
    int deleteByPrimaryKey(String butieName);

    int insert(ButieType record);

    int insertSelective(ButieType record);

    ButieType selectByPrimaryKey(String butieName);

    int updateByPrimaryKeySelective(ButieType record);

    int updateByPrimaryKey(ButieType record);

    List<ButieType> getButieTypePage(Integer start, int limit, @Param("butieType") ButieType butieType);

    int getButieTypeCount(@Param("butieType")ButieType butieType);

    void deleteByButieName(String butieName);
}